package com.wbs.business.logic.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wbs.business.logic.IEntregableLogic;
import com.wbs.domain.Entregable;
import com.wbs.domain.repository.EntregableRepository;

@Service
public class EntregableLogicImpl implements IEntregableLogic {
    @Autowired
    EntregableRepository entregableRepository;

    @Override
    public List<Entregable> obtenerEntregablesPorRequerimiento(Long codigoRequerimiento) {
        return entregableRepository.obtenerEntregablesPorRequerimiento(codigoRequerimiento);
    }


}